package com.wk.warehouse.service;

import com.wk.warehouse.entity.OutStore;
import com.wk.warehouse.page.Page;

import java.util.HashMap;
import java.util.List;

public interface OutStoreService {
	
	/**
	 * 查询出库单个数
	 */
	public int selectCount(OutStore outStore);

	/**
	 * 分页查询
	 */
	public List<OutStore> selectOutStorePage(OutStore outStore, Page pag);

	/**
	 * 用户请求出库
	 */
	public int requestOutStore(OutStore outStore);

	/**
	 * 修改出库状态为已出库
	 */
	public int updateOutStoreState(int outsId);

	/**
	 * 根据商品ID和仓库ID更新商品数量
	 */
	public int updateStoreNum(OutStore outStore);

}

